package com.bfsuol;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = {HibernateJpaAutoConfiguration.class},scanBasePackages = {"com.bfsuol"})
@MapperScan(basePackages = {"com.bfsuol.common.**.dao",
"com.bfsuol.bfsuolcomponents.**.dao","com.bfsuol.bfsuolframework.**.dao",
        "com.bfsuol.yihang.**.dao","com.bfsuol.yihang.**.entity"})
@ServletComponentScan(basePackages = {"com.bfsuol.bfsuolframework.core.servlet","com.bfsuol.bfsuolframework.security.servlet",
"com.bfsuol.bfsuolframework.core.spring"})
@EnableScheduling
public class WebApplication {

    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(WebApplication.class, args);
    }


}
